home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-09-07 | 8.1 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 7f 80 01 2f 2f 3d 3d 3d |........|...//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 53 |========|==..// S|
|00000060| 6e 69 70 65 72 20 52 69 | 66 6c 65 0d 0a 2f 2f 3d |niper Ri|fle..//=|
|00000070| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 0d 0a 63 6c |========|====..cl|
|000000c0| 61 73 73 20 53 6e 69 70 | 65 72 52 69 66 6c 65 20 |ass Snip|erRifle |
|000000d0| 65 78 74 65 6e 64 73 20 | 57 65 61 70 6f 6e 0d 0a |extends |Weapon..|
|000000e0| 20 20 20 20 63 6f 6e 66 | 69 67 28 75 73 65 72 29 | conf|ig(user)|
|000000f0| 3b 0d 0a 0d 0a 23 45 58 | 45 43 20 4f 42 4a 20 4c |;....#EX|EC OBJ L|
|00000100| 4f 41 44 20 46 49 4c 45 | 3d 49 6e 74 65 72 66 61 |OAD FILE|=Interfa|
|00000110| 63 65 43 6f 6e 74 65 6e | 74 2e 75 74 78 0d 0a 23 |ceConten|t.utx..#|
|00000120| 45 58 45 43 20 4f 42 4a | 20 4c 4f 41 44 20 46 49 |EXEC OBJ| LOAD FI|
|00000130| 4c 45 3d 48 75 64 43 6f | 6e 74 65 6e 74 2e 75 74 |LE=HudCo|ntent.ut|
|00000140| 78 0d 0a 23 65 78 65 63 | 20 4f 42 4a 20 4c 4f 41 |x..#exec| OBJ LOA|
|00000150| 44 20 46 49 4c 45 3d 58 | 47 61 6d 65 53 68 61 64 |D FILE=X|GameShad|
|00000160| 65 72 73 2e 75 74 78 0d | 0a 0d 0a 76 61 72 28 47 |ers.utx.|...var(G|
|00000170| 66 78 29 20 66 6c 6f 61 | 74 20 74 65 73 74 58 3b |fx) floa|t testX;|
|00000180| 0d 0a 76 61 72 28 47 66 | 78 29 20 66 6c 6f 61 74 |..var(Gf|x) float|
|00000190| 20 74 65 73 74 59 3b 0d | 0a 0d 0a 76 61 72 28 47 | testY;.|...var(G|
|000001a0| 66 78 29 20 66 6c 6f 61 | 74 20 62 6f 72 64 65 72 |fx) floa|t border|
|000001b0| 58 3b 0d 0a 76 61 72 28 | 47 66 78 29 20 66 6c 6f |X;..var(|Gfx) flo|
|000001c0| 61 74 20 62 6f 72 64 65 | 72 59 3b 0d 0a 0d 0a 76 |at borde|rY;....v|
|000001d0| 61 72 28 47 66 78 29 20 | 66 6c 6f 61 74 20 66 6f |ar(Gfx) |float fo|
|000001e0| 63 75 73 58 3b 0d 0a 76 | 61 72 28 47 66 78 29 20 |cusX;..v|ar(Gfx) |
|000001f0| 66 6c 6f 61 74 20 66 6f | 63 75 73 59 3b 0d 0a 76 |float fo|cusY;..v|
|00000200| 61 72 28 47 66 78 29 20 | 66 6c 6f 61 74 20 69 6e |ar(Gfx) |float in|
|00000210| 6e 65 72 41 72 72 6f 77 | 73 58 3b 0d 0a 76 61 72 |nerArrow|sX;..var|
|00000220| 28 47 66 78 29 20 66 6c | 6f 61 74 20 69 6e 6e 65 |(Gfx) fl|oat inne|
|00000230| 72 41 72 72 6f 77 73 59 | 3b 0d 0a 0d 0a 76 61 72 |rArrowsY|;....var|
|00000240| 28 47 66 78 29 20 43 6f | 6c 6f 72 20 41 72 72 6f |(Gfx) Co|lor Arro|
|00000250| 77 43 6f 6c 6f 72 3b 0d | 0a 76 61 72 28 47 66 78 |wColor;.|.var(Gfx|
|00000260| 29 20 43 6f 6c 6f 72 20 | 54 61 72 67 65 74 43 6f |) Color |TargetCo|
|00000270| 6c 6f 72 3b 0d 0a 76 61 | 72 28 47 66 78 29 20 43 |lor;..va|r(Gfx) C|
|00000280| 6f 6c 6f 72 20 4e 6f 54 | 61 72 67 65 74 43 6f 6c |olor NoT|argetCol|
|00000290| 6f 72 3b 0d 0a 76 61 72 | 28 47 66 78 29 20 43 6f |or;..var|(Gfx) Co|
|000002a0| 6c 6f 72 20 46 6f 63 75 | 73 43 6f 6c 6f 72 3b 0d |lor Focu|sColor;.|
|000002b0| 0a 76 61 72 28 47 66 78 | 29 20 43 6f 6c 6f 72 20 |.var(Gfx|) Color |
|000002c0| 43 68 61 72 67 65 43 6f | 6c 6f 72 3b 0d 0a 0d 0a |ChargeCo|lor;....|
|000002d0| 76 61 72 28 47 66 78 29 | 20 76 65 63 74 6f 72 20 |var(Gfx)| vector |
|000002e0| 52 65 63 68 61 72 67 65 | 4f 72 69 67 69 6e 3b 0d |Recharge|Origin;.|
|000002f0| 0a 76 61 72 28 47 66 78 | 29 20 76 65 63 74 6f 72 |.var(Gfx|) vector|
|00000300| 20 52 65 63 68 61 72 67 | 65 53 69 7a 65 3b 0d 0a | Recharg|eSize;..|
|00000310| 0d 0a 76 61 72 20 74 72 | 61 6e 73 69 65 6e 74 20 |..var tr|ansient |
|00000320| 66 6c 6f 61 74 20 4c 61 | 73 74 46 4f 56 3b 0d 0a |float La|stFOV;..|
|00000330| 76 61 72 28 29 20 62 6f | 6f 6c 20 7a 6f 6f 6d 65 |var() bo|ol zoome|
|00000340| 64 3b 0d 0a 76 61 72 28 | 29 20 78 45 6d 69 74 74 |d;..var(|) xEmitt|
|00000350| 65 72 20 20 63 68 61 72 | 67 65 45 6d 69 74 74 65 |er char|geEmitte|
|00000360| 72 3b 0d 0a 0d 0a 73 69 | 6d 75 6c 61 74 65 64 20 |r;....si|mulated |
|00000370| 66 75 6e 63 74 69 6f 6e | 20 50 6f 73 74 42 65 67 |function| PostBeg|
|00000380| 69 6e 50 6c 61 79 28 29 | 0d 0a 7b 0d 0a 20 20 20 |inPlay()|..{.. |
|00000390| 20 53 75 70 65 72 2e 50 | 6f 73 74 42 65 67 69 6e | Super.P|ostBegin|
|000003a0| 50 6c 61 79 28 29 3b 0d | 0a 7d 0d 0a 0d 0a 73 69 |Play();.|.}....si|
|000003b0| 6d 75 6c 61 74 65 64 20 | 66 75 6e 63 74 69 6f 6e |mulated |function|
|000003c0| 20 44 65 73 74 72 6f 79 | 65 64 28 29 0d 0a 7b 0d | Destroy|ed()..{.|
|000003d0| 0a 20 20 20 20 69 66 20 | 28 63 68 61 72 67 65 45 |. if |(chargeE|
|000003e0| 6d 69 74 74 65 72 20 21 | 3d 20 4e 6f 6e 65 29 0d |mitter !|= None).|
|000003f0| 0a 20 20 20 20 20 20 20 | 20 63 68 61 72 67 65 45 |. | chargeE|
|00000400| 6d 69 74 74 65 72 2e 44 | 65 73 74 72 6f 79 28 29 |mitter.D|estroy()|
|00000410| 3b 0d 0a 0d 0a 20 20 20 | 20 53 75 70 65 72 2e 44 |;.... | Super.D|
|00000420| 65 73 74 72 6f 79 65 64 | 28 29 3b 0d 0a 7d 0d 0a |estroyed|();..}..|
|00000430| 0d 0a 73 69 6d 75 6c 61 | 74 65 64 20 66 75 6e 63 |..simula|ted func|
|00000440| 74 69 6f 6e 20 43 6c 69 | 65 6e 74 57 65 61 70 6f |tion Cli|entWeapo|
|00000450| 6e 54 68 72 6f 77 6e 28 | 29 0d 0a 7b 0d 0a 20 20 |nThrown(|)..{.. |
|00000460| 20 20 69 66 28 20 28 49 | 6e 73 74 69 67 61 74 6f | if( (I|nstigato|
|00000470| 72 20 21 3d 20 4e 6f 6e | 65 29 20 26 26 20 28 50 |r != Non|e) && (P|
|00000480| 6c 61 79 65 72 43 6f 6e | 74 72 6f 6c 6c 65 72 28 |layerCon|troller(|
|00000490| 49 6e 73 74 69 67 61 74 | 6f 72 2e 43 6f 6e 74 72 |Instigat|or.Contr|
|000004a0| 6f 6c 6c 65 72 29 20 21 | 3d 20 4e 6f 6e 65 29 20 |oller) !|= None) |
|000004b0| 29 0d 0a 20 20 20 20 20 | 20 20 20 50 6c 61 79 65 |).. | Playe|
|000004c0| 72 43 6f 6e 74 72 6f 6c | 6c 65 72 28 49 6e 73 74 |rControl|ler(Inst|
|000004d0| 69 67 61 74 6f 72 2e 43 | 6f 6e 74 72 6f 6c 6c 65 |igator.C|ontrolle|
|000004e0| 72 29 2e 45 6e 64 5a 6f | 6f 6d 28 29 3b 0d 0a 20 |r).EndZo|om();.. |
|000004f0| 20 20 20 53 75 70 65 72 | 2e 43 6c 69 65 6e 74 57 | Super|.ClientW|
|00000500| 65 61 70 6f 6e 54 68 72 | 6f 77 6e 28 29 3b 0d 0a |eaponThr|own();..|
|00000510| 7d 0d 0a 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 66 |}....sim|ulated f|
|00000520| 75 6e 63 74 69 6f 6e 20 | 49 6e 63 72 65 6d 65 6e |unction |Incremen|
|00000530| 74 46 6c 61 73 68 43 6f | 75 6e 74 28 69 6e 74 20 |tFlashCo|unt(int |
|00000540| 4d 6f 64 65 29 0d 0a 7b | 0d 0a 09 69 66 20 28 20 |Mode)..{|...if ( |
|00000550| 4d 6f 64 65 20 3d 3d 20 | 31 20 29 0d 0a 09 09 72 |Mode == |1 )....r|
|00000560| 65 74 75 72 6e 3b 0d 0a | 09 53 75 70 65 72 2e 49 |eturn;..|.Super.I|
|00000570| 6e 63 72 65 6d 65 6e 74 | 46 6c 61 73 68 43 6f 75 |ncrement|FlashCou|
|00000580| 6e 74 28 4d 6f 64 65 29 | 3b 0d 0a 7d 0d 0a 0d 0a |nt(Mode)|;..}....|
|00000590| 2f 2f 20 63 6f 6d 70 65 | 6e 73 61 74 65 20 66 6f |// compe|nsate fo|
|000005a0| 72 20 62 72 69 67 68 74 | 20 66 6f 67 0d 0a 73 69 |r bright| fog..si|
|000005b0| 6d 75 6c 61 74 65 64 20 | 66 75 6e 63 74 69 6f 6e |mulated |function|
|000005c0| 20 53 65 74 5a 6f 6f 6d | 42 6c 65 6e 64 43 6f 6c | SetZoom|BlendCol|
|000005d0| 6f 72 28 43 61 6e 76 61 | 73 20 63 29 0d 0a 7b 0d |or(Canva|s c)..{.|
|000005e0| 0a 20 20 20 20 6c 6f 63 | 61 6c 20 42 79 74 65 20 |. loc|al Byte |
|000005f0| 20 20 20 76 61 6c 3b 0d | 0a 20 20 20 20 6c 6f 63 | val;.|. loc|
|00000600| 61 6c 20 43 6f 6c 6f 72 | 20 20 20 63 6c 72 3b 0d |al Color| clr;.|
|00000610| 0a 20 20 20 20 6c 6f 63 | 61 6c 20 43 6f 6c 6f 72 |. loc|al Color|
|00000620| 20 20 20 66 6f 67 3b 0d | 0a 0d 0a 20 20 20 20 63 | fog;.|... c|
|00000630| 6c 72 2e 52 20 3d 20 32 | 35 35 3b 0d 0a 20 20 20 |lr.R = 2|55;.. |
|00000640| 20 63 6c 72 2e 47 20 3d | 20 32 35 35 3b 0d 0a 20 | clr.G =| 255;.. |
|00000650| 20 20 20 63 6c 72 2e 42 | 20 3d 20 32 35 35 3b 0d | clr.B| = 255;.|
|00000660| 0a 20 20 20 20 63 6c 72 | 2e 41 20 3d 20 32 35 35 |. clr|.A = 255|
|00000670| 3b 0d 0a 0d 0a 20 20 20 | 20 69 66 28 20 49 6e 73 |;.... | if( Ins|
|00000680| 74 69 67 61 74 6f 72 2e | 52 65 67 69 6f 6e 2e 5a |tigator.|Region.Z|
|00000690| 6f 6e 65 2e 62 44 69 73 | 74 61 6e 63 65 46 6f 67 |one.bDis|tanceFog|
|000006a0| 20 29 0d 0a 20 20 20 20 | 7b 0d 0a 20 20 20 20 20 | ).. |{.. |
|000006b0| 20 20 20 66 6f 67 20 3d | 20 49 6e 73 74 69 67 61 | fog =| Instiga|
|000006c0| 74 6f 72 2e 52 65 67 69 | 6f 6e 2e 5a 6f 6e 65 2e |tor.Regi|on.Zone.|
|000006d0| 44 69 73 74 61 6e 63 65 | 46 6f 67 43 6f 6c 6f 72 |Distance|FogColor|
|000006e0| 3b 0d 0a 20 20 20 20 20 | 20 20 20 76 61 6c 20 3d |;.. | val =|
|000006f0| 20 30 3b 0d 0a 20 20 20 | 20 20 20 20 20 76 61 6c | 0;.. | val|
|00000700| 20 3d 20 4d 61 78 28 20 | 76 61 6c 2c 20 66 6f 67 | = Max( |val, fog|
|00000710| 2e 52 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 76 61 |.R);.. | va|
|00000720| 6c 20 3d 20 4d 61 78 28 | 20 76 61 6c 2c 20 66 6f |l = Max(| val, fo|
|00000730| 67 2e 47 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 76 |g.G);.. | v|
|00000740| 61 6c 20 3d 20 4d 61 78 | 28 20 76 61 6c 2c 20 66 |al = Max|( val, f|
|00000750| 6f 67 2e 42 29 3b 0d 0a | 0d 0a 20 20 20 20 20 20 |og.B);..|.. |
|00000760| 20 20 69 66 28 20 76 61 | 6c 20 3e 20 31 32 38 20 | if( va|l > 128 |
|00000770| 29 0d 0a 20 20 20 20 20 | 20 20 20 7b 0d 0a 20 20 |).. | {.. |
|00000780| 20 20 20 20 20 20 20 20 | 20 20 76 61 6c 20 2d 3d | | val -=|
|00000790| 20 31 32 38 3b 0d 0a 20 | 20 20 20 20 20 20 20 20 | 128;.. | |
|000007a0| 20 20 20 63 6c 72 2e 52 | 20 2d 3d 20 76 61 6c 3b | clr.R| -= val;|
|000007b0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 63 6c |.. | cl|
|000007c0| 72 2e 47 20 2d 3d 20 76 | 61 6c 3b 0d 0a 20 20 20 |r.G -= v|al;.. |
|000007d0| 20 20 20 20 20 20 20 20 | 20 63 6c 72 2e 42 20 2d | | clr.B -|
|000007e0| 3d 20 76 61 6c 3b 0d 0a | 20 20 20 20 20 20 20 20 |= val;..| |
|000007f0| 7d 0d 0a 20 20 20 20 7d | 0d 0a 20 20 20 20 63 2e |}.. }|.. c.|
|00000800| 44 72 61 77 43 6f 6c 6f | 72 20 3d 20 63 6c 72 3b |DrawColo|r = clr;|
|00000810| 0d 0a 7d 0d 0a 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |..}....s|imulated|
|00000820| 20 65 76 65 6e 74 20 52 | 65 6e 64 65 72 4f 76 65 | event R|enderOve|
|00000830| 72 6c 61 79 73 28 20 43 | 61 6e 76 61 73 20 43 61 |rlays( C|anvas Ca|
|00000840| 6e 76 61 73 20 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |nvas )..|{...loca|
|00000850| 6c 20 66 6c 6f 61 74 20 | 74 69 6c 65 53 63 61 6c |l float |tileScal|
|00000860| 65 58 3b 0d 0a 09 6c 6f | 63 61 6c 20 66 6c 6f 61 |eX;...lo|cal floa|
|00000870| 74 20 74 69 6c 65 53 63 | 61 6c 65 59 3b 0d 0a 09 |t tileSc|aleY;...|
|00000880| 6c 6f 63 61 6c 20 66 6c | 6f 61 74 20 62 58 3b 0d |local fl|oat bX;.|
|00000890| 0a 09 6c 6f 63 61 6c 20 | 66 6c 6f 61 74 20 62 59 |..local |float bY|
|000008a0| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 66 6c 6f 61 74 20 |;...loca|l float |
|000008b0| 66 58 3b 0d 0a 09 6c 6f | 63 61 6c 20 66 6c 6f 61 |fX;...lo|cal floa|
|000008c0| 74 20 66 59 3b 0d 0a 09 | 6c 6f 63 61 6c 20 66 6c |t fY;...|local fl|
|000008d0| 6f 61 74 20 43 68 61 72 | 67 65 42 61 72 3b 0d 0a |oat Char|geBar;..|
|000008e0| 0d 0a 09 6c 6f 63 61 6c | 20 66 6c 6f 61 74 20 74 |...local| float t|
|000008f0| 58 3b 0d 0a 09 6c 6f 63 | 61 6c 20 66 6c 6f 61 74 |X;...loc|al float|
|00000900| 20 74 59 3b 0d 0a 0d 0a | 09 6c 6f 63 61 6c 20 66 | tY;....|.local f|
|00000910| 6c 6f 61 74 20 62 61 72 | 4f 72 67 58 3b 0d 0a 09 |loat bar|OrgX;...|
|00000920| 6c 6f 63 61 6c 20 66 6c | 6f 61 74 20 62 61 72 4f |local fl|oat barO|
|00000930| 72 67 59 3b 0d 0a 09 6c | 6f 63 61 6c 20 66 6c 6f |rgY;...l|ocal flo|
|00000940| 61 74 20 62 61 72 53 69 | 7a 65 58 3b 0d 0a 09 6c |at barSi|zeX;...l|
|00000950| 6f 63 61 6c 20 66 6c 6f | 61 74 20 62 61 72 53 69 |ocal flo|at barSi|
|00000960| 7a 65 59 3b 0d 0a 0d 0a | 09 69 66 20 28 20 50 6c |zeY;....|.if ( Pl|
|00000970| 61 79 65 72 43 6f 6e 74 | 72 6f 6c 6c 65 72 28 49 |ayerCont|roller(I|
|00000980| 6e 73 74 69 67 61 74 6f | 72 2e 43 6f 6e 74 72 6f |nstigato|r.Contro|
|00000990| 6c 6c 65 72 29 20 3d 3d | 20 4e 6f 6e 65 20 29 0d |ller) ==| None ).|
|000009a0| 0a 09 7b 0d 0a 20 20 20 | 20 20 20 20 20 53 75 70 |..{.. | Sup|
|000009b0| 65 72 2e 52 65 6e 64 65 | 72 4f 76 65 72 6c 61 79 |er.Rende|rOverlay|
|000009c0| 73 28 43 61 6e 76 61 73 | 29 3b 0d 0a 09 09 7a 6f |s(Canvas|);....zo|
|000009d0| 6f 6d 65 64 3d 66 61 6c | 73 65 3b 0d 0a 09 09 72 |omed=fal|se;....r|
|000009e0| 65 74 75 72 6e 3b 0d 0a | 09 7d 0d 0a 0d 0a 20 20 |eturn;..|.}.... |
|000009f0| 20 20 69 66 20 28 20 4c | 61 73 74 46 4f 56 20 3e | if ( L|astFOV >|
|00000a00| 20 50 6c 61 79 65 72 43 | 6f 6e 74 72 6f 6c 6c 65 | PlayerC|ontrolle|
|00000a10| 72 28 49 6e 73 74 69 67 | 61 74 6f 72 2e 43 6f 6e |r(Instig|ator.Con|
|00000a20| 74 72 6f 6c 6c 65 72 29 | 2e 44 65 73 69 72 65 64 |troller)|.Desired|
|00000a30| 46 4f 56 20 29 0d 0a 20 | 20 20 20 7b 0d 0a 20 20 |FOV ).. | {.. |
|00000a40| 20 20 20 20 20 20 50 6c | 61 79 53 6f 75 6e 64 28 | Pl|aySound(|
|00000a50| 53 6f 75 6e 64 27 57 65 | 61 70 6f 6e 53 6f 75 6e |Sound'We|aponSoun|
|00000a60| 64 73 2e 4c 69 67 68 74 | 6e 69 6e 67 47 75 6e 2e |ds.Light|ningGun.|
|00000a70| 4c 69 67 68 74 6e 69 6e | 67 5a 6f 6f 6d 49 6e 27 |Lightnin|gZoomIn'|
|00000a80| 2c 20 53 4c 4f 54 5f 4d | 69 73 63 2c 2c 2c 2c 2c |, SLOT_M|isc,,,,,|
|00000a90| 66 61 6c 73 65 29 3b 0d | 0a 20 20 20 20 7d 0d 0a |false);.|. }..|
|00000aa0| 20 20 20 20 65 6c 73 65 | 20 69 66 20 28 20 4c 61 | else| if ( La|
|00000ab0| 73 74 46 4f 56 20 3c 20 | 50 6c 61 79 65 72 43 6f |stFOV < |PlayerCo|
|00000ac0| 6e 74 72 6f 6c 6c 65 72 | 28 49 6e 73 74 69 67 61 |ntroller|(Instiga|
|00000ad0| 74 6f 72 2e 43 6f 6e 74 | 72 6f 6c 6c 65 72 29 2e |tor.Cont|roller).|
|00000ae0| 44 65 73 69 72 65 64 46 | 4f 56 20 29 0d 0a 20 20 |DesiredF|OV ).. |
|00000af0| 20 20 7b 0d 0a 20 20 20 | 20 20 20 20 20 50 6c 61 | {.. | Pla|
|00000b00| 79 53 6f 75 6e 64 28 53 | 6f 75 6e 64 27 57 65 61 |ySound(S|ound'Wea|
|00000b10| 70 6f 6e 53 6f 75 6e 64 | 73 2e 4c 69 67 68 74 6e |ponSound|s.Lightn|
|00000b20| 69 6e 67 47 75 6e 2e 4c | 69 67 68 74 6e 69 6e 67 |ingGun.L|ightning|
|00000b30| 5a 6f 6f 6d 4f 75 74 27 | 2c 20 53 4c 4f 54 5f 4d |ZoomOut'|, SLOT_M|
|00000b40| 69 73 63 2c 2c 2c 2c 2c | 66 61 6c 73 65 29 3b 0d |isc,,,,,|false);.|
|00000b50| 0a 20 20 20 20 7d 0d 0a | 20 20 20 20 4c 61 73 74 |. }..| Last|
|00000b60| 46 4f 56 20 3d 20 50 6c | 61 79 65 72 43 6f 6e 74 |FOV = Pl|ayerCont|
|00000b70| 72 6f 6c 6c 65 72 28 49 | 6e 73 74 69 67 61 74 6f |roller(I|nstigato|
|00000b80| 72 2e 43 6f 6e 74 72 6f | 6c 6c 65 72 29 2e 44 65 |r.Contro|ller).De|
|00000b90| 73 69 72 65 64 46 4f 56 | 3b 0d 0a 0d 0a 20 20 20 |siredFOV|;.... |
|00000ba0| 20 69 66 20 28 20 50 6c | 61 79 65 72 43 6f 6e 74 | if ( Pl|ayerCont|
|00000bb0| 72 6f 6c 6c 65 72 28 49 | 6e 73 74 69 67 61 74 6f |roller(I|nstigato|
|00000bc0| 72 2e 43 6f 6e 74 72 6f | 6c 6c 65 72 29 2e 44 65 |r.Contro|ller).De|
|00000bd0| 73 69 72 65 64 46 4f 56 | 20 3d 3d 20 50 6c 61 79 |siredFOV| == Play|
|00000be0| 65 72 43 6f 6e 74 72 6f | 6c 6c 65 72 28 49 6e 73 |erContro|ller(Ins|
|00000bf0| 74 69 67 61 74 6f 72 2e | 43 6f 6e 74 72 6f 6c 6c |tigator.|Controll|
|00000c00| 65 72 29 2e 44 65 66 61 | 75 6c 74 46 4f 56 20 29 |er).Defa|ultFOV )|
|00000c10| 0d 0a 09 7b 0d 0a 20 20 | 20 20 20 20 20 20 53 75 |...{.. | Su|
|00000c20| 70 65 72 2e 52 65 6e 64 | 65 72 4f 76 65 72 6c 61 |per.Rend|erOverla|
|00000c30| 79 73 28 43 61 6e 76 61 | 73 29 3b 0d 0a 09 09 7a |ys(Canva|s);....z|
|00000c40| 6f 6f 6d 65 64 3d 66 61 | 6c 73 65 3b 0d 0a 09 7d |oomed=fa|lse;...}|
|00000c50| 0d 0a 09 65 6c 73 65 0d | 0a 20 20 20 20 7b 0d 0a |...else.|. {..|
|00000c60| 09 09 69 66 20 28 20 46 | 69 72 65 4d 6f 64 65 5b |..if ( F|ireMode[|
|00000c70| 30 5d 2e 4e 65 78 74 46 | 69 72 65 54 69 6d 65 20 |0].NextF|ireTime |
|00000c80| 3c 3d 20 4c 65 76 65 6c | 2e 54 69 6d 65 53 65 63 |<= Level|.TimeSec|
|00000c90| 6f 6e 64 73 20 29 0d 0a | 09 09 7b 0d 0a 09 09 09 |onds )..|..{.....|
|00000ca0| 43 68 61 72 67 65 42 61 | 72 20 3d 20 31 2e 30 3b |ChargeBa|r = 1.0;|
|00000cb0| 0d 0a 09 09 7d 0d 0a 09 | 09 65 6c 73 65 0d 0a 09 |....}...|.else...|
|00000cc0| 09 7b 0d 0a 09 09 09 43 | 68 61 72 67 65 42 61 72 |.{.....C|hargeBar|
|00000cd0| 20 3d 20 31 2e 30 20 2d | 20 28 28 46 69 72 65 4d | = 1.0 -| ((FireM|
|00000ce0| 6f 64 65 5b 30 5d 2e 4e | 65 78 74 46 69 72 65 54 |ode[0].N|extFireT|
|00000cf0| 69 6d 65 2d 4c 65 76 65 | 6c 2e 54 69 6d 65 53 65 |ime-Leve|l.TimeSe|
|00000d00| 63 6f 6e 64 73 29 20 2f | 20 46 69 72 65 4d 6f 64 |conds) /| FireMod|
|00000d10| 65 5b 30 5d 2e 46 69 72 | 65 52 61 74 65 29 3b 0d |e[0].Fir|eRate);.|
|00000d20| 0a 09 09 7d 0d 0a 0d 0a | 09 09 74 69 6c 65 53 63 |...}....|..tileSc|
|00000d30| 61 6c 65 58 20 3d 20 43 | 61 6e 76 61 73 2e 53 69 |aleX = C|anvas.Si|
|00000d40| 7a 65 58 20 2f 20 36 34 | 30 2e 30 66 3b 0d 0a 09 |zeX / 64|0.0f;...|
|00000d50| 09 74 69 6c 65 53 63 61 | 6c 65 59 20 3d 20 43 61 |.tileSca|leY = Ca|
|00000d60| 6e 76 61 73 2e 53 69 7a | 65 59 20 2f 20 34 38 30 |nvas.Siz|eY / 480|
|00000d70| 2e 30 66 3b 0d 0a 0d 0a | 09 09 62 58 20 3d 20 62 |.0f;....|..bX = b|
|00000d80| 6f 72 64 65 72 58 20 2a | 20 74 69 6c 65 53 63 61 |orderX *| tileSca|
|00000d90| 6c 65 58 3b 0d 0a 09 09 | 62 59 20 3d 20 62 6f 72 |leX;....|bY = bor|
|00000da0| 64 65 72 59 20 2a 20 74 | 69 6c 65 53 63 61 6c 65 |derY * t|ileScale|
|00000db0| 59 3b 0d 0a 09 09 66 58 | 20 3d 20 32 2a 66 6f 63 |Y;....fX| = 2*foc|
|00000dc0| 75 73 58 20 2a 20 74 69 | 6c 65 53 63 61 6c 65 58 |usX * ti|leScaleX|
|00000dd0| 3b 0d 0a 09 09 66 59 20 | 3d 20 32 2a 66 6f 63 75 |;....fY |= 2*focu|
|00000de0| 73 59 20 2a 20 74 69 6c | 65 53 63 61 6c 65 58 3b |sY * til|eScaleX;|
|00000df0| 0d 0a 0d 0a 09 09 74 58 | 20 3d 20 74 65 73 74 58 |......tX| = testX|
|00000e00| 20 2a 20 74 69 6c 65 53 | 63 61 6c 65 58 3b 0d 0a | * tileS|caleX;..|
|00000e10| 09 09 74 59 20 3d 20 74 | 65 73 74 59 20 2a 20 74 |..tY = t|estY * t|
|00000e20| 69 6c 65 53 63 61 6c 65 | 58 3b 0d 0a 0d 0a 09 09 |ileScale|X;......|
|00000e30| 62 61 72 4f 72 67 58 20 | 3d 20 52 65 63 68 61 72 |barOrgX |= Rechar|
|00000e40| 67 65 4f 72 69 67 69 6e | 2e 58 20 2a 20 74 69 6c |geOrigin|.X * til|
|00000e50| 65 53 63 61 6c 65 58 3b | 0d 0a 09 09 62 61 72 4f |eScaleX;|....barO|
|00000e60| 72 67 59 20 3d 20 52 65 | 63 68 61 72 67 65 4f 72 |rgY = Re|chargeOr|
|00000e70| 69 67 69 6e 2e 59 20 2a | 20 74 69 6c 65 53 63 61 |igin.Y *| tileSca|
|00000e80| 6c 65 59 3b 0d 0a 0d 0a | 09 09 62 61 72 53 69 7a |leY;....|..barSiz|
|00000e90| 65 58 20 3d 20 52 65 63 | 68 61 72 67 65 53 69 7a |eX = Rec|hargeSiz|
|00000ea0| 65 2e 58 20 2a 20 74 69 | 6c 65 53 63 61 6c 65 58 |e.X * ti|leScaleX|
|00000eb0| 3b 0d 0a 09 09 62 61 72 | 53 69 7a 65 59 20 3d 20 |;....bar|SizeY = |
|00000ec0| 52 65 63 68 61 72 67 65 | 53 69 7a 65 2e 59 20 2a |Recharge|Size.Y *|
|00000ed0| 20 74 69 6c 65 53 63 61 | 6c 65 59 3b 0d 0a 0d 0a | tileSca|leY;....|
|00000ee0| 20 20 20 20 20 20 20 20 | 53 65 74 5a 6f 6f 6d 42 | |SetZoomB|
|00000ef0| 6c 65 6e 64 43 6f 6c 6f | 72 28 43 61 6e 76 61 73 |lendColo|r(Canvas|
|00000f00| 29 3b 0d 0a 0d 0a 20 20 | 20 20 20 20 20 20 43 61 |);.... | Ca|
|00000f10| 6e 76 61 73 2e 53 74 79 | 6c 65 20 3d 20 32 35 35 |nvas.Sty|le = 255|
|00000f20| 3b 0d 0a 09 09 43 61 6e | 76 61 73 2e 53 65 74 50 |;....Can|vas.SetP|
|00000f30| 6f 73 28 30 2c 30 29 3b | 0d 0a 20 20 20 20 20 20 |os(0,0);|.. |
|00000f40| 20 20 43 61 6e 76 61 73 | 2e 44 72 61 77 54 69 6c | Canvas|.DrawTil|
|00000f50| 65 28 20 4d 61 74 65 72 | 69 61 6c 27 5a 6f 6f 6d |e( Mater|ial'Zoom|
|00000f60| 46 42 27 2c 20 43 61 6e | 76 61 73 2e 53 69 7a 65 |FB', Can|vas.Size|
|00000f70| 58 2c 20 43 61 6e 76 61 | 73 2e 53 69 7a 65 59 2c |X, Canva|s.SizeY,|
|00000f80| 20 31 32 38 2c 20 31 32 | 38 2c 20 32 35 36 2c 20 | 128, 12|8, 256, |
|00000f90| 32 35 36 20 29 3b 20 2f | 2f 20 21 21 20 68 61 72 |256 ); /|/ !! har|
|00000fa0| 64 63 6f 64 65 64 20 73 | 69 7a 65 0d 0a 0d 0a 09 |dcoded s|ize.....|
|00000fb0| 09 43 61 6e 76 61 73 2e | 44 72 61 77 43 6f 6c 6f |.Canvas.|DrawColo|
|00000fc0| 72 20 3d 20 46 6f 63 75 | 73 43 6f 6c 6f 72 3b 0d |r = Focu|sColor;.|
|00000fd0| 0a 20 20 20 20 20 20 20 | 20 43 61 6e 76 61 73 2e |. | Canvas.|
|00000fe0| 44 72 61 77 43 6f 6c 6f | 72 2e 41 20 3d 20 32 35 |DrawColo|r.A = 25|
|00000ff0| 35 3b 20 2f 2f 20 32 35 | 35 20 77 61 73 20 74 68 |5; // 25|5 was th|
|00001000| 65 20 6f 72 69 67 69 6e | 61 6c 20 2d 61 73 70 2e |e origin|al -asp.|
|00001010| 20 57 54 46 3f 3f 21 3f | 21 3f 21 0d 0a 09 09 43 | WTF??!?|!?!....C|
|00001020| 61 6e 76 61 73 2e 53 74 | 79 6c 65 20 3d 20 45 52 |anvas.St|yle = ER|
|00001030| 65 6e 64 65 72 53 74 79 | 6c 65 2e 53 54 59 5f 41 |enderSty|le.STY_A|
|00001040| 6c 70 68 61 3b 0d 0a 0d | 0a 09 09 43 61 6e 76 61 |lpha;...|...Canva|
|00001050| 73 2e 53 65 74 50 6f 73 | 28 28 43 61 6e 76 61 73 |s.SetPos|((Canvas|
|00001060| 2e 53 69 7a 65 58 2a 30 | 2e 35 29 2d 66 58 2c 28 |.SizeX*0|.5)-fX,(|
|00001070| 43 61 6e 76 61 73 2e 53 | 69 7a 65 59 2a 30 2e 35 |Canvas.S|izeY*0.5|
|00001080| 29 2d 66 59 29 3b 0d 0a | 09 09 43 61 6e 76 61 73 |)-fY);..|..Canvas|
|00001090| 2e 44 72 61 77 54 69 6c | 65 28 20 54 65 78 74 75 |.DrawTil|e( Textu|
|000010a0| 72 65 27 53 6e 69 70 65 | 72 46 6f 63 75 73 27 2c |re'Snipe|rFocus',|
|000010b0| 20 66 58 2a 32 2e 30 2c | 20 66 59 2a 32 2e 30 2c | fX*2.0,| fY*2.0,|
|000010c0| 20 30 2e 30 2c 20 30 2e | 30 2c 20 54 65 78 74 75 | 0.0, 0.|0, Textu|
|000010d0| 72 65 27 53 6e 69 70 65 | 72 46 6f 63 75 73 27 2e |re'Snipe|rFocus'.|
|000010e0| 55 53 69 7a 65 2c 20 54 | 65 78 74 75 72 65 27 53 |USize, T|exture'S|
|000010f0| 6e 69 70 65 72 46 6f 63 | 75 73 27 2e 56 53 69 7a |niperFoc|us'.VSiz|
|00001100| 65 20 29 3b 0d 0a 0d 0a | 20 20 20 20 20 20 20 20 |e );....| |
|00001110| 66 58 20 3d 20 69 6e 6e | 65 72 41 72 72 6f 77 73 |fX = inn|erArrows|
|00001120| 58 20 2a 20 74 69 6c 65 | 53 63 61 6c 65 58 3b 0d |X * tile|ScaleX;.|
|00001130| 0a 09 09 66 59 20 3d 20 | 69 6e 6e 65 72 41 72 72 |...fY = |innerArr|
|00001140| 6f 77 73 59 20 2a 20 74 | 69 6c 65 53 63 61 6c 65 |owsY * t|ileScale|
|00001150| 59 3b 0d 0a 0d 0a 20 20 | 20 20 20 20 20 20 43 61 |Y;.... | Ca|
|00001160| 6e 76 61 73 2e 44 72 61 | 77 43 6f 6c 6f 72 20 3d |nvas.Dra|wColor =|
|00001170| 20 41 72 72 6f 77 43 6f | 6c 6f 72 3b 0d 0a 09 09 | ArrowCo|lor;....|
|00001180| 43 61 6e 76 61 73 2e 53 | 65 74 50 6f 73 28 28 43 |Canvas.S|etPos((C|
|00001190| 61 6e 76 61 73 2e 53 69 | 7a 65 58 2a 30 2e 35 29 |anvas.Si|zeX*0.5)|
|000011a0| 2d 66 58 2c 28 43 61 6e | 76 61 73 2e 53 69 7a 65 |-fX,(Can|vas.Size|
|000011b0| 59 2a 30 2e 35 29 2d 66 | 59 29 3b 0d 0a 09 09 43 |Y*0.5)-f|Y);....C|
|000011c0| 61 6e 76 61 73 2e 44 72 | 61 77 54 69 6c 65 28 20 |anvas.Dr|awTile( |
|000011d0| 54 65 78 74 75 72 65 27 | 53 6e 69 70 65 72 41 72 |Texture'|SniperAr|
|000011e0| 72 6f 77 73 27 2c 20 66 | 58 2a 32 2e 30 2c 20 66 |rows', f|X*2.0, f|
|000011f0| 59 2a 32 2e 30 2c 20 30 | 2e 30 2c 20 30 2e 30 2c |Y*2.0, 0|.0, 0.0,|
|00001200| 20 54 65 78 74 75 72 65 | 27 53 6e 69 70 65 72 41 | Texture|'SniperA|
|00001210| 72 72 6f 77 73 27 2e 55 | 53 69 7a 65 2c 20 54 65 |rrows'.U|Size, Te|
|00001220| 78 74 75 72 65 27 53 6e | 69 70 65 72 41 72 72 6f |xture'Sn|iperArro|
|00001230| 77 73 27 2e 56 53 69 7a | 65 20 29 3b 0d 0a 0d 0a |ws'.VSiz|e );....|
|00001240| 09 09 2f 2f 20 44 72 61 | 77 20 74 68 65 20 43 68 |..// Dra|w the Ch|
|00001250| 61 72 67 69 6e 67 20 6d | 65 74 65 72 20 20 2d 41 |arging m|eter -A|
|00001260| 73 50 0d 0a 09 09 43 61 | 6e 76 61 73 2e 44 72 61 |sP....Ca|nvas.Dra|
|00001270| 77 43 6f 6c 6f 72 20 3d | 20 43 68 61 72 67 65 43 |wColor =| ChargeC|
|00001280| 6f 6c 6f 72 3b 0d 0a 20 | 20 20 20 20 20 20 20 43 |olor;.. | C|
|00001290| 61 6e 76 61 73 2e 44 72 | 61 77 43 6f 6c 6f 72 2e |anvas.Dr|awColor.|
|000012a0| 41 20 3d 20 32 35 35 3b | 0d 0a 0d 0a 09 09 69 66 |A = 255;|......if|
|000012b0| 28 43 68 61 72 67 65 42 | 61 72 20 3c 31 29 0d 0a |(ChargeB|ar <1)..|
|000012c0| 09 09 20 20 20 20 43 61 | 6e 76 61 73 2e 44 72 61 |.. Ca|nvas.Dra|
|000012d0| 77 43 6f 6c 6f 72 2e 52 | 20 3d 20 32 35 35 2a 43 |wColor.R| = 255*C|
|000012e0| 68 61 72 67 65 42 61 72 | 3b 0d 0a 09 09 65 6c 73 |hargeBar|;....els|
|000012f0| 65 0d 0a 20 20 20 20 20 | 20 20 20 7b 0d 0a 20 20 |e.. | {.. |
|00001300| 20 20 20 20 20 20 20 20 | 20 20 43 61 6e 76 61 73 | | Canvas|
|00001310| 2e 44 72 61 77 43 6f 6c | 6f 72 2e 52 20 3d 20 30 |.DrawCol|or.R = 0|
|00001320| 3b 0d 0a 09 09 20 20 20 | 20 43 61 6e 76 61 73 2e |;.... | Canvas.|
|00001330| 44 72 61 77 43 6f 6c 6f | 72 2e 42 20 3d 20 30 3b |DrawColo|r.B = 0;|
|00001340| 0d 0a 20 20 20 20 20 20 | 20 20 7d 0d 0a 0d 0a 09 |.. | }.....|
|00001350| 09 69 66 28 43 68 61 72 | 67 65 42 61 72 20 3d 3d |.if(Char|geBar ==|
|00001360| 20 31 29 0d 0a 09 09 20 | 20 20 20 43 61 6e 76 61 | 1).... | Canva|
|00001370| 73 2e 44 72 61 77 43 6f | 6c 6f 72 2e 47 20 3d 20 |s.DrawCo|lor.G = |
|00001380| 32 35 35 3b 0d 0a 09 09 | 65 6c 73 65 0d 0a 09 09 |255;....|else....|
|00001390| 20 20 20 20 43 61 6e 76 | 61 73 2e 44 72 61 77 43 | Canv|as.DrawC|
|000013a0| 6f 6c 6f 72 2e 47 20 3d | 20 30 3b 0d 0a 0d 0a 09 |olor.G =| 0;.....|
|000013b0| 09 43 61 6e 76 61 73 2e | 53 74 79 6c 65 20 3d 20 |.Canvas.|Style = |
|000013c0| 45 52 65 6e 64 65 72 53 | 74 79 6c 65 2e 53 54 59 |ERenderS|tyle.STY|
|000013d0| 5f 41 6c 70 68 61 3b 0d | 0a 09 09 43 61 6e 76 61 |_Alpha;.|...Canva|
|000013e0| 73 2e 53 65 74 50 6f 73 | 28 20 62 61 72 4f 72 67 |s.SetPos|( barOrg|
|000013f0| 58 2c 20 62 61 72 4f 72 | 67 59 20 29 3b 0d 0a 09 |X, barOr|gY );...|
|00001400| 09 43 61 6e 76 61 73 2e | 44 72 61 77 54 69 6c 65 |.Canvas.|DrawTile|
|00001410| 28 54 65 78 74 75 72 65 | 27 45 6e 67 69 6e 65 2e |(Texture|'Engine.|
|00001420| 57 68 69 74 65 54 65 78 | 74 75 72 65 27 2c 62 61 |WhiteTex|ture',ba|
|00001430| 72 53 69 7a 65 58 2c 62 | 61 72 53 69 7a 65 59 2a |rSizeX,b|arSizeY*|
|00001440| 43 68 61 72 67 65 42 61 | 72 2c 20 30 2e 30 2c 20 |ChargeBa|r, 0.0, |
|00001450| 30 2e 30 2c 54 65 78 74 | 75 72 65 27 45 6e 67 69 |0.0,Text|ure'Engi|
|00001460| 6e 65 2e 57 68 69 74 65 | 54 65 78 74 75 72 65 27 |ne.White|Texture'|
|00001470| 2e 55 53 69 7a 65 2c 54 | 65 78 74 75 72 65 27 45 |.USize,T|exture'E|
|00001480| 6e 67 69 6e 65 2e 57 68 | 69 74 65 54 65 78 74 75 |ngine.Wh|iteTextu|
|00001490| 72 65 27 2e 56 53 69 7a | 65 2a 43 68 61 72 67 65 |re'.VSiz|e*Charge|
|000014a0| 42 61 72 29 3b 0d 0a 09 | 09 7a 6f 6f 6d 65 64 20 |Bar);...|.zoomed |
|000014b0| 3d 20 74 72 75 65 3b 0d | 0a 09 7d 0d 0a 7d 0d 0a |= true;.|..}..}..|
|000014c0| 0d 0a 73 69 6d 75 6c 61 | 74 65 64 20 66 75 6e 63 |..simula|ted func|
|000014d0| 74 69 6f 6e 20 43 6c 69 | 65 6e 74 53 74 61 72 74 |tion Cli|entStart|
|000014e0| 46 69 72 65 28 69 6e 74 | 20 6d 6f 64 65 29 0d 0a |Fire(int| mode)..|
|000014f0| 7b 0d 0a 20 20 20 20 69 | 66 20 28 6d 6f 64 65 20 |{.. i|f (mode |
|00001500| 3d 3d 20 31 29 0d 0a 20 | 20 20 20 7b 0d 0a 20 20 |== 1).. | {.. |
|00001510| 20 20 20 20 20 20 46 69 | 72 65 4d 6f 64 65 5b 6d | Fi|reMode[m|
|00001520| 6f 64 65 5d 2e 62 49 73 | 46 69 72 69 6e 67 20 3d |ode].bIs|Firing =|
|00001530| 20 74 72 75 65 3b 0d 0a | 20 20 20 20 20 20 20 20 | true;..| |
|00001540| 69 66 28 20 49 6e 73 74 | 69 67 61 74 6f 72 2e 43 |if( Inst|igator.C|
|00001550| 6f 6e 74 72 6f 6c 6c 65 | 72 2e 49 73 41 28 20 27 |ontrolle|r.IsA( '|
|00001560| 50 6c 61 79 65 72 43 6f | 6e 74 72 6f 6c 6c 65 72 |PlayerCo|ntroller|
|00001570| 27 20 29 20 29 0d 0a 20 | 20 20 20 20 20 20 20 20 |' ) ).. | |
|00001580| 20 20 20 50 6c 61 79 65 | 72 43 6f 6e 74 72 6f 6c | Playe|rControl|
|00001590| 6c 65 72 28 49 6e 73 74 | 69 67 61 74 6f 72 2e 43 |ler(Inst|igator.C|
|000015a0| 6f 6e 74 72 6f 6c 6c 65 | 72 29 2e 54 6f 67 67 6c |ontrolle|r).Toggl|
|000015b0| 65 5a 6f 6f 6d 28 29 3b | 0d 0a 20 20 20 20 7d 0d |eZoom();|.. }.|
|000015c0| 0a 20 20 20 20 65 6c 73 | 65 0d 0a 20 20 20 20 7b |. els|e.. {|
|000015d0| 0d 0a 20 20 20 20 20 20 | 20 20 53 75 70 65 72 2e |.. | Super.|
|000015e0| 43 6c 69 65 6e 74 53 74 | 61 72 74 46 69 72 65 28 |ClientSt|artFire(|
|000015f0| 6d 6f 64 65 29 3b 0d 0a | 20 20 20 20 7d 0d 0a 7d |mode);..| }..}|
|00001600| 0d 0a 0d 0a 73 69 6d 75 | 6c 61 74 65 64 20 66 75 |....simu|lated fu|
|00001610| 6e 63 74 69 6f 6e 20 43 | 6c 69 65 6e 74 53 74 6f |nction C|lientSto|
|00001620| 70 46 69 72 65 28 69 6e | 74 20 6d 6f 64 65 29 0d |pFire(in|t mode).|
|00001630| 0a 7b 0d 0a 20 20 20 20 | 69 66 20 28 6d 6f 64 65 |.{.. |if (mode|
|00001640| 20 3d 3d 20 31 29 0d 0a | 20 20 20 20 7b 0d 0a 20 | == 1)..| {.. |
|00001650| 20 20 20 20 20 20 20 46 | 69 72 65 4d 6f 64 65 5b | F|ireMode[|
|00001660| 6d 6f 64 65 5d 2e 62 49 | 73 46 69 72 69 6e 67 20 |mode].bI|sFiring |
|00001670| 3d 20 66 61 6c 73 65 3b | 0d 0a 20 20 20 20 20 20 |= false;|.. |
|00001680| 20 20 69 66 28 20 50 6c | 61 79 65 72 43 6f 6e 74 | if( Pl|ayerCont|
|00001690| 72 6f 6c 6c 65 72 28 49 | 6e 73 74 69 67 61 74 6f |roller(I|nstigato|
|000016a0| 72 2e 43 6f 6e 74 72 6f | 6c 6c 65 72 29 20 21 3d |r.Contro|ller) !=|
|000016b0| 20 4e 6f 6e 65 20 29 0d | 0a 20 20 20 20 20 20 20 | None ).|. |
|000016c0| 20 20 20 20 20 50 6c 61 | 79 65 72 43 6f 6e 74 72 | Pla|yerContr|
|000016d0| 6f 6c 6c 65 72 28 49 6e | 73 74 69 67 61 74 6f 72 |oller(In|stigator|
|000016e0| 2e 43 6f 6e 74 72 6f 6c | 6c 65 72 29 2e 53 74 6f |.Control|ler).Sto|
|000016f0| 70 5a 6f 6f 6d 28 29 3b | 0d 0a 20 20 20 20 7d 0d |pZoom();|.. }.|
|00001700| 0a 20 20 20 20 65 6c 73 | 65 0d 0a 20 20 20 20 7b |. els|e.. {|
|00001710| 0d 0a 20 20 20 20 20 20 | 20 20 53 75 70 65 72 2e |.. | Super.|
|00001720| 43 6c 69 65 6e 74 53 74 | 6f 70 46 69 72 65 28 6d |ClientSt|opFire(m|
|00001730| 6f 64 65 29 3b 0d 0a 20 | 20 20 20 7d 0d 0a 7d 0d |ode);.. | }..}.|
|00001740| 0a 0d 0a 73 69 6d 75 6c | 61 74 65 64 20 66 75 6e |...simul|ated fun|
|00001750| 63 74 69 6f 6e 20 42 72 | 69 6e 67 55 70 28 6f 70 |ction Br|ingUp(op|
|00001760| 74 69 6f 6e 61 6c 20 57 | 65 61 70 6f 6e 20 50 72 |tional W|eapon Pr|
|00001770| 65 76 57 65 61 70 6f 6e | 29 0d 0a 7b 0d 0a 20 20 |evWeapon|)..{.. |
|00001780| 20 20 69 66 20 28 20 50 | 6c 61 79 65 72 43 6f 6e | if ( P|layerCon|
|00001790| 74 72 6f 6c 6c 65 72 28 | 49 6e 73 74 69 67 61 74 |troller(|Instigat|
|000017a0| 6f 72 2e 43 6f 6e 74 72 | 6f 6c 6c 65 72 29 20 21 |or.Contr|oller) !|
|000017b0| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 20 20 20 20 7b 0d |= None )|.. {.|
|000017c0| 0a 20 20 20 20 20 20 20 | 20 4c 61 73 74 46 4f 56 |. | LastFOV|
|000017d0| 20 3d 20 50 6c 61 79 65 | 72 43 6f 6e 74 72 6f 6c | = Playe|rControl|
|000017e0| 6c 65 72 28 49 6e 73 74 | 69 67 61 74 6f 72 2e 43 |ler(Inst|igator.C|
|000017f0| 6f 6e 74 72 6f 6c 6c 65 | 72 29 2e 44 65 73 69 72 |ontrolle|r).Desir|
|00001800| 65 64 46 4f 56 3b 0d 0a | 09 09 69 66 20 28 20 49 |edFOV;..|..if ( I|
|00001810| 6e 73 74 69 67 61 74 6f | 72 2e 49 73 4c 6f 63 61 |nstigato|r.IsLoca|
|00001820| 6c 6c 79 43 6f 6e 74 72 | 6f 6c 6c 65 64 28 29 20 |llyContr|olled() |
|00001830| 29 0d 0a 09 09 09 47 6f | 74 6f 53 74 61 74 65 28 |).....Go|toState(|
|00001840| 27 54 69 63 6b 45 66 66 | 65 63 74 73 27 29 3b 0d |'TickEff|ects');.|
|00001850| 0a 09 7d 0d 0a 20 20 20 | 20 53 75 70 65 72 2e 42 |..}.. | Super.B|
|00001860| 72 69 6e 67 55 70 28 50 | 72 65 76 57 65 61 70 6f |ringUp(P|revWeapo|
|00001870| 6e 29 3b 0d 0a 7d 0d 0a | 0d 0a 73 69 6d 75 6c 61 |n);..}..|..simula|
|00001880| 74 65 64 20 66 75 6e 63 | 74 69 6f 6e 20 62 6f 6f |ted func|tion boo|
|00001890| 6c 20 50 75 74 44 6f 77 | 6e 28 29 0d 0a 7b 0d 0a |l PutDow|n()..{..|
|000018a0| 20 20 20 20 69 66 28 20 | 49 6e 73 74 69 67 61 74 | if( |Instigat|
|000018b0| 6f 72 2e 43 6f 6e 74 72 | 6f 6c 6c 65 72 2e 49 73 |or.Contr|oller.Is|
|000018c0| 41 28 20 27 50 6c 61 79 | 65 72 43 6f 6e 74 72 6f |A( 'Play|erContro|
|000018d0| 6c 6c 65 72 27 20 29 20 | 29 0d 0a 20 20 20 20 20 |ller' ) |).. |
|000018e0| 20 20 20 50 6c 61 79 65 | 72 43 6f 6e 74 72 6f 6c | Playe|rControl|
|000018f0| 6c 65 72 28 49 6e 73 74 | 69 67 61 74 6f 72 2e 43 |ler(Inst|igator.C|
|00001900| 6f 6e 74 72 6f 6c 6c 65 | 72 29 2e 45 6e 64 5a 6f |ontrolle|r).EndZo|
|00001910| 6f 6d 28 29 3b 0d 0a 20 | 20 20 20 69 66 20 28 20 |om();.. | if ( |
|00001920| 53 75 70 65 72 2e 50 75 | 74 44 6f 77 6e 28 29 20 |Super.Pu|tDown() |
|00001930| 29 0d 0a 20 20 20 20 7b | 0d 0a 09 09 47 6f 74 6f |).. {|....Goto|
|00001940| 53 74 61 74 65 28 27 27 | 29 3b 0d 0a 09 09 72 65 |State(''|);....re|
|00001950| 74 75 72 6e 20 74 72 75 | 65 3b 0d 0a 09 7d 0d 0a |turn tru|e;...}..|
|00001960| 09 72 65 74 75 72 6e 20 | 66 61 6c 73 65 3b 0d 0a |.return |false;..|
|00001970| 7d 0d 0a 0d 0a 73 74 61 | 74 65 20 54 69 63 6b 45 |}....sta|te TickE|
|00001980| 66 66 65 63 74 73 0d 0a | 7b 0d 0a 20 20 20 20 73 |ffects..|{.. s|
|00001990| 69 6d 75 6c 61 74 65 64 | 20 66 75 6e 63 74 69 6f |imulated| functio|
|000019a0| 6e 20 54 69 63 6b 28 20 | 66 6c 6f 61 74 20 74 20 |n Tick( |float t |
|000019b0| 29 0d 0a 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 |).. {|.. |
|000019c0| 20 20 69 66 20 28 63 68 | 61 72 67 65 45 6d 69 74 | if (ch|argeEmit|
|000019d0| 74 65 72 20 3d 3d 20 4e | 6f 6e 65 29 0d 0a 20 20 |ter == N|one).. |
|000019e0| 20 20 20 20 20 20 7b 0d | 0a 20 20 20 20 20 20 20 | {.|. |
|000019f0| 20 20 20 20 20 63 68 61 | 72 67 65 45 6d 69 74 74 | cha|rgeEmitt|
|00001a00| 65 72 20 3d 20 53 70 61 | 77 6e 28 63 6c 61 73 73 |er = Spa|wn(class|
|00001a10| 27 4c 69 67 68 74 6e 69 | 6e 67 43 68 61 72 67 65 |'Lightni|ngCharge|
|00001a20| 27 2c 73 65 6c 66 29 3b | 0d 0a 20 20 20 20 20 20 |',self);|.. |
|00001a30| 20 20 20 20 20 20 41 74 | 74 61 63 68 54 6f 42 6f | At|tachToBo|
|00001a40| 6e 65 28 63 68 61 72 67 | 65 45 6d 69 74 74 65 72 |ne(charg|eEmitter|
|00001a50| 2c 20 27 74 69 70 27 20 | 29 3b 0d 0a 20 20 20 20 |, 'tip' |);.. |
|00001a60| 20 20 20 20 7d 0d 0a 20 | 20 20 20 20 20 20 20 63 | }.. | c|
|00001a70| 68 61 72 67 65 45 6d 69 | 74 74 65 72 2e 6d 52 65 |hargeEmi|tter.mRe|
|00001a80| 67 65 6e 50 61 75 73 65 | 20 3d 20 28 20 46 69 72 |genPause| = ( Fir|
|00001a90| 65 4d 6f 64 65 5b 30 5d | 2e 4e 65 78 74 46 69 72 |eMode[0]|.NextFir|
|00001aa0| 65 54 69 6d 65 20 3e 20 | 4c 65 76 65 6c 2e 54 69 |eTime > |Level.Ti|
|00001ab0| 6d 65 53 65 63 6f 6e 64 | 73 20 7c 7c 20 41 6d 6d |meSecond|s || Amm|
|00001ac0| 6f 41 6d 6f 75 6e 74 28 | 30 29 20 3d 3d 20 30 20 |oAmount(|0) == 0 |
|00001ad0| 29 3b 0d 0a 20 20 20 20 | 7d 0d 0a 7d 0d 0a 0d 0a |);.. |}..}....|
|00001ae0| 2f 2f 20 41 49 20 49 6e | 74 65 72 66 61 63 65 0d |// AI In|terface.|
|00001af0| 0a 66 75 6e 63 74 69 6f | 6e 20 66 6c 6f 61 74 20 |.functio|n float |
|00001b00| 53 75 67 67 65 73 74 41 | 74 74 61 63 6b 53 74 79 |SuggestA|ttackSty|
|00001b10| 6c 65 28 29 0d 0a 7b 0d | 0a 20 20 20 20 72 65 74 |le()..{.|. ret|
|00001b20| 75 72 6e 20 2d 30 2e 34 | 3b 0d 0a 7d 0d 0a 0d 0a |urn -0.4|;..}....|
|00001b30| 66 75 6e 63 74 69 6f 6e | 20 66 6c 6f 61 74 20 53 |function| float S|
|00001b40| 75 67 67 65 73 74 44 65 | 66 65 6e 73 65 53 74 79 |uggestDe|fenseSty|
|00001b50| 6c 65 28 29 0d 0a 7b 0d | 0a 20 20 20 20 72 65 74 |le()..{.|. ret|
|00001b60| 75 72 6e 20 30 2e 32 3b | 0d 0a 7d 0d 0a 0d 0a 2f |urn 0.2;|..}..../|
|00001b70| 2a 20 42 65 73 74 4d 6f | 64 65 28 29 0d 0a 63 68 |* BestMo|de()..ch|
|00001b80| 6f 6f 73 65 20 62 65 74 | 77 65 65 6e 20 72 65 67 |oose bet|ween reg|
|00001b90| 75 6c 61 72 20 6f 72 20 | 61 6c 74 2d 66 69 72 65 |ular or |alt-fire|
|00001ba0| 0d 0a 2a 2f 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 62 |..*/..fu|nction b|
|00001bb0| 79 74 65 20 42 65 73 74 | 4d 6f 64 65 28 29 0d 0a |yte Best|Mode()..|
|00001bc0| 7b 0d 0a 09 72 65 74 75 | 72 6e 20 30 3b 0d 0a 7d |{...retu|rn 0;..}|
|00001bd0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 66 6c 6f |....func|tion flo|
|00001be0| 61 74 20 47 65 74 41 49 | 52 61 74 69 6e 67 28 29 |at GetAI|Rating()|
|00001bf0| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 42 6f 74 20 |..{...lo|cal Bot |
|00001c00| 42 3b 0d 0a 09 6c 6f 63 | 61 6c 20 66 6c 6f 61 74 |B;...loc|al float|
|00001c10| 20 5a 44 69 66 66 2c 20 | 64 69 73 74 2c 20 52 65 | ZDiff, |dist, Re|
|00001c20| 73 75 6c 74 3b 0d 0a 0d | 0a 09 42 20 3d 20 42 6f |sult;...|..B = Bo|
|00001c30| 74 28 49 6e 73 74 69 67 | 61 74 6f 72 2e 43 6f 6e |t(Instig|ator.Con|
|00001c40| 74 72 6f 6c 6c 65 72 29 | 3b 0d 0a 09 69 66 20 28 |troller)|;...if (|
|00001c50| 20 42 20 3d 3d 20 4e 6f | 6e 65 20 29 0d 0a 09 09 | B == No|ne )....|
|00001c60| 72 65 74 75 72 6e 20 41 | 49 52 61 74 69 6e 67 3b |return A|IRating;|
|00001c70| 0d 0a 09 69 66 20 28 20 | 42 2e 49 73 53 68 6f 6f |...if ( |B.IsShoo|
|00001c80| 74 69 6e 67 4f 62 6a 65 | 63 74 69 76 65 28 29 20 |tingObje|ctive() |
|00001c90| 29 0d 0a 09 09 72 65 74 | 75 72 6e 20 41 49 52 61 |)....ret|urn AIRa|
|00001ca0| 74 69 6e 67 20 2d 20 30 | 2e 31 35 3b 0d 0a 09 69 |ting - 0|.15;...i|
|00001cb0| 66 20 28 20 42 2e 45 6e | 65 6d 79 20 3d 3d 20 4e |f ( B.En|emy == N|
|00001cc0| 6f 6e 65 20 29 0d 0a 09 | 7b 0d 0a 09 09 69 66 20 |one )...|{....if |
|00001cd0| 28 20 28 42 2e 54 61 72 | 67 65 74 20 21 3d 20 4e |( (B.Tar|get != N|
|00001ce0| 6f 6e 65 29 20 26 26 20 | 56 53 69 7a 65 28 42 2e |one) && |VSize(B.|
|00001cf0| 54 61 72 67 65 74 2e 4c | 6f 63 61 74 69 6f 6e 20 |Target.L|ocation |
|00001d00| 2d 20 42 2e 50 61 77 6e | 2e 4c 6f 63 61 74 69 6f |- B.Pawn|.Locatio|
|00001d10| 6e 29 20 3e 20 38 30 30 | 30 20 29 0d 0a 09 09 09 |n) > 800|0 ).....|
|00001d20| 72 65 74 75 72 6e 20 30 | 2e 39 35 3b 0d 0a 09 09 |return 0|.95;....|
|00001d30| 72 65 74 75 72 6e 20 41 | 49 52 61 74 69 6e 67 3b |return A|IRating;|
|00001d40| 0d 0a 09 7d 0d 0a 0d 0a | 09 69 66 20 28 20 42 2e |...}....|.if ( B.|
|00001d50| 53 74 6f 70 70 65 64 28 | 29 20 29 0d 0a 09 09 72 |Stopped(|) )....r|
|00001d60| 65 73 75 6c 74 20 3d 20 | 41 49 52 61 74 69 6e 67 |esult = |AIRating|
|00001d70| 20 2b 20 30 2e 31 3b 0d | 0a 09 65 6c 73 65 0d 0a | + 0.1;.|..else..|
|00001d80| 09 09 72 65 73 75 6c 74 | 20 3d 20 41 49 52 61 74 |..result| = AIRat|
|00001d90| 69 6e 67 20 2d 20 30 2e | 31 3b 0d 0a 09 69 66 20 |ing - 0.|1;...if |
|00001da0| 28 20 56 65 68 69 63 6c | 65 28 42 2e 45 6e 65 6d |( Vehicl|e(B.Enem|
|00001db0| 79 29 20 21 3d 20 4e 6f | 6e 65 20 29 0d 0a 09 09 |y) != No|ne )....|
|00001dc0| 72 65 73 75 6c 74 20 2d | 3d 20 30 2e 32 3b 0d 0a |result -|= 0.2;..|
|00001dd0| 09 5a 44 69 66 66 20 3d | 20 49 6e 73 74 69 67 61 |.ZDiff =| Instiga|
|00001de0| 74 6f 72 2e 4c 6f 63 61 | 74 69 6f 6e 2e 5a 20 2d |tor.Loca|tion.Z -|
|00001df0| 20 42 2e 45 6e 65 6d 79 | 2e 4c 6f 63 61 74 69 6f | B.Enemy|.Locatio|
|00001e00| 6e 2e 5a 3b 0d 0a 09 69 | 66 20 28 20 5a 44 69 66 |n.Z;...i|f ( ZDif|
|00001e10| 66 20 3c 20 2d 32 30 30 | 20 29 0d 0a 09 09 72 65 |f < -200| )....re|
|00001e20| 73 75 6c 74 20 2b 3d 20 | 30 2e 31 3b 0d 0a 09 64 |sult += |0.1;...d|
|00001e30| 69 73 74 20 3d 20 56 53 | 69 7a 65 28 42 2e 45 6e |ist = VS|ize(B.En|
|00001e40| 65 6d 79 2e 4c 6f 63 61 | 74 69 6f 6e 20 2d 20 49 |emy.Loca|tion - I|
|00001e50| 6e 73 74 69 67 61 74 6f | 72 2e 4c 6f 63 61 74 69 |nstigato|r.Locati|
|00001e60| 6f 6e 29 3b 0d 0a 09 69 | 66 20 28 20 64 69 73 74 |on);...i|f ( dist|
|00001e70| 20 3e 20 32 30 30 30 20 | 29 0d 0a 09 7b 0d 0a 09 | > 2000 |)...{...|
|00001e80| 09 69 66 20 28 20 21 42 | 2e 45 6e 65 6d 79 56 69 |.if ( !B|.EnemyVi|
|00001e90| 73 69 62 6c 65 28 29 20 | 29 0d 0a 09 09 09 72 65 |sible() |).....re|
|00001ea0| 73 75 6c 74 20 3d 20 72 | 65 73 75 6c 74 20 2d 20 |sult = r|esult - |
|00001eb0| 30 2e 31 35 3b 0d 0a 09 | 09 72 65 74 75 72 6e 20 |0.15;...|.return |
|00001ec0| 28 20 46 4d 69 6e 28 32 | 2e 30 2c 72 65 73 75 6c |( FMin(2|.0,resul|
|00001ed0| 74 20 2b 20 28 64 69 73 | 74 20 2d 20 32 30 30 30 |t + (dis|t - 2000|
|00001ee0| 29 20 2a 20 30 2e 30 30 | 30 32 29 20 29 3b 0d 0a |) * 0.00|02) );..|
|00001ef0| 09 7d 0d 0a 09 69 66 20 | 28 20 21 42 2e 45 6e 65 |.}...if |( !B.Ene|
|00001f00| 6d 79 56 69 73 69 62 6c | 65 28 29 20 29 0d 0a 09 |myVisibl|e() )...|
|00001f10| 09 72 65 74 75 72 6e 20 | 41 49 52 61 74 69 6e 67 |.return |AIRating|
|00001f20| 20 2d 20 30 2e 31 3b 0d | 0a 0d 0a 09 72 65 74 75 | - 0.1;.|....retu|
|00001f30| 72 6e 20 72 65 73 75 6c | 74 3b 0d 0a 7d 0d 0a 0d |rn resul|t;..}...|
|00001f40| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 62 6f 6f 6c |...funct|ion bool|
|00001f50| 20 52 65 63 6f 6d 6d 65 | 6e 64 52 61 6e 67 65 64 | Recomme|ndRanged|
|00001f60| 41 74 74 61 63 6b 28 29 | 0d 0a 7b 0d 0a 09 6c 6f |Attack()|..{...lo|
|00001f70| 63 61 6c 20 42 6f 74 20 | 42 3b 0d 0a 0d 0a 09 42 |cal Bot |B;.....B|
|00001f80| 20 3d 20 42 6f 74 28 49 | 6e 73 74 69 67 61 74 6f | = Bot(I|nstigato|
|00001f90| 72 2e 43 6f 6e 74 72 6f | 6c 6c 65 72 29 3b 0d 0a |r.Contro|ller);..|
|00001fa0| 09 69 66 20 28 20 28 42 | 20 3d 3d 20 4e 6f 6e 65 |.if ( (B| == None|
|00001fb0| 29 20 7c 7c 20 28 42 2e | 45 6e 65 6d 79 20 3d 3d |) || (B.|Enemy ==|
|00001fc0| 20 4e 6f 6e 65 29 20 29 | 0d 0a 09 09 72 65 74 75 | None) )|....retu|
|00001fd0| 72 6e 20 74 72 75 65 3b | 0d 0a 0d 0a 09 72 65 74 |rn true;|.....ret|
|00001fe0| 75 72 6e 20 28 20 56 53 | 69 7a 65 28 42 2e 45 6e |urn ( VS|ize(B.En|
|00001ff0| 65 6d 79 2e 4c 6f 63 61 | 74 69 6f 6e 20 2d 20 49 |emy.Loca|tion - I|
|00002000| 6e 73 74 69 67 61 74 6f | 72 2e 4c 6f 63 61 74 69 |nstigato|r.Locati|
|00002010| 6f 6e 29 20 3e 20 32 30 | 30 30 20 2a 20 28 31 20 |on) > 20|00 * (1 |
|00002020| 2b 20 46 52 61 6e 64 28 | 29 29 20 29 3b 0d 0a 7d |+ FRand(|)) );..}|
|00002030| 0d 0a 2f 2f 20 65 6e 64 | 20 41 49 20 49 6e 74 65 |..// end| AI Inte|
|00002040| 72 66 61 63 65 0d 0a 0d | 0a 00 |rface...|.. |
+--------+-------------------------+-------------------------+--------+--------+